{% extends 'base.html.twig' %}
{% block body_bar %}
    <h5>{{ dry_translation('show') }}</h5>
    <div class="ibox-tools">
        <a class="btn btn-outline btn-info" href="{{ dry_path("searchconfig_new") }}" data-route="searchconfig_new">{{ dry_translation('new') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("searchconfig_edit", rs.id) }}" data-route="searchconfig_edit">{{ dry_translation('edit') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("searchconfig_index") }}" data-route="searchconfig_index">{{ dry_translation('list') }}</a>
    </div>
{% endblock %}
{% block body %}
    <table class="table">
        <tbody>
            <tr>
                <th style="border-top:none;">{{ dry_translation('Search.id') }}</th>
                <td style="border-top:none;">{{ rs.id }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.dryGroup') }}</th>
                <td>{{ rs.dry_group }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.dryName') }}</th>
                <td>{{ rs.dry_name }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.dryField') }}</th>
                <td>{{ rs.dry_field }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.dryDefault') }}</th>
                <td>{{ rs.dry_default }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.dryOperator') }}</th>
                <td>{{ call_method('choiceShow', get_choice('search_operator'), rs.dry_operator)|raw }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.dryFormType') }}</th>
                <td>{{ call_method('choiceShow', get_choice('search_form_type'), rs.dry_form_type)|raw }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.drySingleRow') }}</th>
                <td>{{ call_method('statusShow', get_choice('yes_or_no'), rs.dry_single_row)|raw }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.dryStatus') }}</th>
                <td>{{ call_method('statusShow', get_choice('status'), rs.dry_status)|raw }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.drySort') }}</th>
                <td>{{ rs.dry_sort }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.dryNote') }}</th>
                <td>{{ rs.dry_note }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Search.dryAddTime') }}</th>
                <td>{{ rs.dry_add_time }}</td>
            </tr>
        </tbody>
    </table>
{% endblock %}
